import service from '@/utils/request'

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 创建起模通知单-模具及物料清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeMoldmaterialList true "创建起模通知单-模具及物料清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /moldStartNoticeMoldmaterialList/createMoldStartNoticeMoldmaterialList [post]
export const createMoldStartNoticeMoldmaterialList = (data) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/createMoldStartNoticeMoldmaterialList',
    method: 'post',
    data
  })
}

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 删除起模通知单-模具及物料清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeMoldmaterialList true "删除起模通知单-模具及物料清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeMoldmaterialList/deleteMoldStartNoticeMoldmaterialList [delete]
export const deleteMoldStartNoticeMoldmaterialList = (params) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/deleteMoldStartNoticeMoldmaterialList',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 批量删除起模通知单-模具及物料清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除起模通知单-模具及物料清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeMoldmaterialList/deleteMoldStartNoticeMoldmaterialList [delete]
export const deleteMoldStartNoticeMoldmaterialListByIds = (params) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/deleteMoldStartNoticeMoldmaterialListByIds',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 更新起模通知单-模具及物料清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeMoldmaterialList true "更新起模通知单-模具及物料清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /moldStartNoticeMoldmaterialList/updateMoldStartNoticeMoldmaterialList [put]
export const updateMoldStartNoticeMoldmaterialList = (data) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/updateMoldStartNoticeMoldmaterialList',
    method: 'put',
    data
  })
}

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 用id查询起模通知单-模具及物料清单
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MoldStartNoticeMoldmaterialList true "用id查询起模通知单-模具及物料清单"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /moldStartNoticeMoldmaterialList/findMoldStartNoticeMoldmaterialList [get]
export const findMoldStartNoticeMoldmaterialList = (params) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/findMoldStartNoticeMoldmaterialList',
    method: 'get',
    params
  })
}

// @Tags MoldStartNoticeMoldmaterialList
// @Summary 分页获取起模通知单-模具及物料清单列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取起模通知单-模具及物料清单列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /moldStartNoticeMoldmaterialList/getMoldStartNoticeMoldmaterialListList [get]
export const getMoldStartNoticeMoldmaterialListList = (params) => {
  return service({
    url: '/moldStartNoticeMoldmaterialList/getMoldStartNoticeMoldmaterialListList',
    method: 'get',
    params
  })
}
